Part 1 90th percentile

1.1 ALL station 90th compare

1.2 different YVR data

Part 2 scatter plot

## [1] "Kamloops"      "Prince_George" "YVR"           "Kelowna"      
## [5] "YVR_era5"      "Abbotsford"    "Penticton"     "FortNelson"

2.1 TOP 20 scatter plot between 2 stations

Display the color point in bar

2.2 TOP 20-35 scatter plot between 2 stations

Display the color point in bar

2.3 correlation between scatter plot of YVR_era5 vs YVR temp station.

Fit a Linear Model Generate 95% Prediction Intervals as reference lines

Part 3: line segment plot

3.1 line segment for 6 temp station, 3 day HW

YVR: 1937-2024

Prince_George: 1942-2024

Kamloops: 1951-2024

Kelowna: 1899-2024

Abbotsford: 1944-2024

Penticton: 1941-2024

line segment 3 day

##        begin        end starttemp endtemp year month
## 1 1937-03-03 1937-03-05      14.4    14.4 1937     3
## 2 1937-10-27 1937-10-29      15.6    17.2 1937    10
## 3 1937-11-20 1937-11-22      11.7    12.8 1937    11
## 4 1937-12-11 1937-12-14      11.1    12.8 1937    12
## 5 1938-05-19 1938-05-24      20.6    23.3 1938     5
## 6 1939-03-21 1939-03-23      17.8    14.4 1939     3
## [1] " head df_filtered_plot"
## [1] "df_filtered_plot"

3.2 line segment for 6 temp station, 5 day HW

YVR: 1937-2024

Prince_George: 1942-2024

Kamloops: 1951-2024

Kelowna: 1899-2024

Abbotsford: 1944-2024

Penticton: 1941-2024

line segment 5 day

##        begin        end starttemp endtemp year month
## 1 1937-03-03 1937-03-05      14.4    14.4 1937     3
## 2 1937-10-27 1937-10-29      15.6    17.2 1937    10
## 3 1937-11-20 1937-11-22      11.7    12.8 1937    11
## 4 1937-12-11 1937-12-14      11.1    12.8 1937    12
## 5 1938-05-19 1938-05-24      20.6    23.3 1938     5
## 6 1939-03-21 1939-03-23      17.8    14.4 1939     3
## [1] " head df_filtered_plot"
## [1] "df_filtered_plot"

3.3 line segment 2 yvr compare, for HW over 3 days

##        begin        end starttemp endtemp year month
## 1 1937-03-03 1937-03-05      14.4    14.4 1937     3
## 2 1937-10-27 1937-10-29      15.6    17.2 1937    10
## 3 1937-11-20 1937-11-22      11.7    12.8 1937    11
## 4 1937-12-11 1937-12-14      11.1    12.8 1937    12
## 5 1938-05-19 1938-05-24      20.6    23.3 1938     5
## 6 1939-03-21 1939-03-23      17.8    14.4 1939     3
## [1] " head df_filtered_plot"
## [1] "df_filtered_plot"

–>

–>